import {
  SET_USER_INFO,
  SET_IS_COLLAPSE,
  SET_ROUTE_LIST
} from "./mutation-type";

export default {
  [SET_USER_INFO](state, data) {
    state.userInfo = data;
  },
  [SET_IS_COLLAPSE](state, data) {
    state.isCollapse = data;
  },
  [SET_ROUTE_LIST](state, data) {
    state.routeList = data;
  },
}
